package com.yu.mall.dto.order;

import com.yu.mall.dto.BaseDTO;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;
import java.util.List;

@Data
@ApiModel
public class FreightDTO extends BaseDTO {

    @ApiModelProperty(value="地址id",required = true,example = "1")
    private String addressId;

    @ApiModelProperty(value="一级地址",required = true)
    private String provinceId;

    @ApiModelProperty(value="二级地址",required = true)
    private String cityId;

    @ApiModelProperty(value="三级地址",required = true)
    private String countyId;

    @ApiModelProperty(value="四级地址 (如果该地区有四级地址，则必须传递四级地址，没有四级地址则传0)",required = true)
    private String townId;

    @ApiModelProperty(value="订单商品（获取运费是传）",required = true)
    private List<FreightSkuDTO> sku;

}
